# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=xonotic-data
pkgver=0.8.5
pkgrel=0
pkgdesc="Data files for Xonotic"
url="https://www.xonotic.org/"
arch="noarch !s390x" # save space on builders
license="GPL-2.0-or-later"
options="!check"
source="$pkgname-$pkgver.zip::https://dl.xonotic.org/${pkgname%-*}-$pkgver.zip"
builddir="$srcdir"/Xonotic

package() {
	mkdir -p "$pkgdir"/usr/share/xonotic/
	mv "$srcdir"/Xonotic/data "$pkgdir"/usr/share/xonotic/
}

sha512sums="
4ffc4b73eeb5f580d178a98419d5b44cbff0c56e356a62baa729b5b7a6c3d43b2b425b123428c9b1bf3f4718eaf61bcf5d62914521cc061c7563a253440c807e  xonotic-data-0.8.5.zip
"
